<!DOCTYPE html>
<html>
<head>
    {include file='public/meta'/}
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/cardinfo.css"/>

    <style>
        .checkbox input[type="checkbox"], .checkbox input[type="radio"]{
            width: 18px;
            height: 18px;
            margin-top:1px;
        }
    </style>
</head>
<body id="body">
{include file='public/header'/}
<!------------------导航-------------------------->
<section>
    {include file='public/left'/}
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <!--路径导航-->
        <ol class="breadcrumb mgl15 mgr15">
            <li>当前位置是&nbsp;:</li>
            <li>
                <a href="{:url('cardus/cardinfo',['card_id'=>$card['card_id']])}">会员卡管理</a>
            </li>
            <li class="active" style="color: #02b87f;">折扣开关</li>
        </ol>
        <!--创建会员卡主要内容-->
        <div class="card-content mgl15 mgr15 clearfix">
            <div class="alert alert-danger">该折扣在会员卡控制面板的基础设置中开启折扣后便可使用。</div>
            <form class="form-horizontal " action="" method="post">
                <input type="hidden" name="is_dedu_cards" value="1">
                <div class="panel panel-default">
                    <div class="panel-heading">折扣开关</div>
                    <div class="panel-body">

                        <div class="form-horizontal ng-scope">
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">储值消费会员折扣</label>
                                <div class="col-sm-10">
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_cz_discount" type="radio" {eq name="card.is_cz_discount" value="1"} checked="checked" {/eq}  value="1">
                                        <label class="ng-binding">开</label>
                                    </span>
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_cz_discount" type="radio" {eq name="card.is_cz_discount" value="0"} checked="checked" {/eq} value="0">
                                        <label class="ng-binding">关</label>
                                    </span>
                                    <div class="r-desc ng-binding ng-scope">开启即可在消费储值时使用会员卡的专属折扣。</div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">储值消费等级特权折扣</label>
                                <div class="col-sm-10">
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_cz_dj_discount" type="radio" {eq name="card.is_cz_dj_discount" value="1"} checked="checked" {/eq}  value="1">
                                        <label class="ng-binding">开</label>
                                    </span>
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_cz_dj_discount" type="radio" {eq name="card.is_cz_dj_discount" value="0"} checked="checked" {/eq} value="0">
                                        <label class="ng-binding">关</label>
                                    </span>
                                    <div class="r-desc ng-binding ng-scope">开启即可在消费储值时使用会员卡积分等级的专属折扣。</div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">电子支付会员折扣</label>
                                <div class="col-sm-10">
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_zf_discount" type="radio" {eq name="card.is_zf_discount" value="1"} checked="checked" {/eq} value="1">
                                        <label class="ng-binding">开</label>
                                    </span>
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_zf_discount" type="radio" {eq name="card.is_zf_discount" value="0"} checked="checked" {/eq} value="0">
                                        <label class="ng-binding">关</label>
                                    </span>
                                    <div class="r-desc ng-binding ng-scope">开启即可在微信或支付宝被扫支付时使用会员卡的专属折扣。</div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">电子支付等级特权折扣</label>
                                <div class="col-sm-10">
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_dj_discount" type="radio" {eq name="card.is_dj_discount" value="1"} checked="checked" {/eq}  value="1">
                                        <label class="ng-binding">开</label>
                                    </span>
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_dj_discount" type="radio" {eq name="card.is_dj_discount" value="0"} checked="checked" {/eq} value="0">
                                        <label class="ng-binding">关</label>
                                    </span>
                                    <div class="r-desc ng-binding ng-scope">开启即可在微信或支付宝被扫支付时使用会员卡积分等级的专属折扣。</div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">扫码支付会员折扣</label>
                                <div class="col-sm-10">
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_qrcode_zf_dis" type="radio" {eq name="card.is_qrcode_zf_dis" value="1"} checked="checked" {/eq}  value="1">
                                        <label class="ng-binding">开</label>
                                    </span>
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_qrcode_zf_dis" type="radio" {eq name="card.is_qrcode_zf_dis" value="0"} checked="checked" {/eq} value="0">
                                        <label class="ng-binding">关</label>
                                    </span>
                                    <div class="r-desc ng-binding ng-scope">开启即可在微信扫描二维码支付时使用会员卡的专属折扣。</div>
                                </div>

                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">扫码支付等级特权折扣</label>
                                <div class="col-sm-10">
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_qrcode_dj_dis" type="radio" {eq name="card.is_qrcode_dj_dis" value="1"} checked="checked" {/eq}  value="1">
                                        <label class="ng-binding">开</label>
                                    </span>
                                    <span class="radio ng-scope radio-inline" >
                                        <input name="is_qrcode_dj_dis" type="radio" {eq name="card.is_qrcode_dj_dis" value="0"} checked="checked" {/eq} value="0">
                                        <label class="ng-binding">关</label>
                                    </span>
                                    <div class="r-desc ng-binding ng-scope">开启即可在微信扫描二维码支付时使用会员卡积分等级的专属折扣。</div>
                                </div>
                            </div>

                            <!--<div class="form-group">-->
                                <!--<label class="col-sm-2 control-label ng-binding">可用卡券自动抵扣</label>-->
                                <!--<div class="col-sm-10">-->
                                    <!--<span class="radio ng-scope radio-inline" >-->
                                        <!--<input name="is_dedu_cards" type="radio" checked="checked"  value="1">-->
                                        <!--<label class="ng-binding">开</label>-->
                                    <!--</span>-->
                                    <!--<span class="radio ng-scope radio-inline" >-->
                                        <!--<input name="is_dedu_cards" type="radio" value="0">-->
                                        <!--<label class="ng-binding">关</label>-->
                                    <!--</span>-->
                                    <!--<div class="r-desc ng-binding ng-scope">开启即可在储值消费、微信被扫、微信扫码支付时使用会员卡积分等级的专属折扣。</div>-->
                                <!--</div>-->
                            <!--</div>-->

                            <!--<div class="form-group">-->
                                <!--<label class="col-sm-2 control-label ng-binding">普通支付积分抵扣</label>-->
                                <!--<div class="col-sm-10">-->
                                    <!--<span class="radio ng-scope radio-inline" >-->
                                        <!--<input name="is_jf_deducted" type="radio" {eq name="card.is_jf_deducted" value="1"} checked="checked" {/eq}  value="1">-->
                                        <!--<label class="ng-binding">开</label>-->
                                    <!--</span>-->
                                    <!--<span class="radio ng-scope radio-inline" >-->
                                        <!--<input name="is_jf_deducted" type="radio" {eq name="card.is_jf_deducted" value="0"} checked="checked" {/eq} value="0">-->
                                        <!--<label class="ng-binding">关</label>-->
                                    <!--</span>-->
                                <!--</div>-->
                            <!--</div>-->
                                <button class="btn btn-success" type="submit">提交</button>
                        </div>


                    </div>
                </div>
            </form>
        </div>

        {include file='public/footer'/}
    </div>
</section>
</body>

</html>
